<?php

namespace App\Http\Controllers\Api;

use App\Http\Controllers\Controller;
use Illuminate\Http\Request;

class FileController extends Controller
{
    //获取图片的路径
    public function aaa(Request $request){
$fileName=$request->file('file')->getPathname();
//上传到云端


print_r($fileName);

    }
}
